package com.tomek.ktoryoperator.providers;

import android.content.Context;

public abstract class AbstractNumberInfoProvider implements NumberInfoProvider {
	@Override
	public String getProviderId() {
		return getClass().getSimpleName();
	}

	@Override
	public String getProviderName(Context context) {
		return getProviderId();
	}

	@Override
	public String getNumberInfoName(Context context, String numberInfoId) {
		return numberInfoId;
	}

	@Override
	public int getImageResourceForNumber(String value) {
		return android.R.drawable.ic_menu_help;
	}

	@Override
	public long getQueryTimeout() {
		return 0;
	}
	
	@Override
	public boolean canHandle(String number) {
		return false;
	}
}
